$('#permissions').html("<%= escape_javascript render(partial: 'index') %>");
